From: Paul Eggert Date: Tue, 5 Apr 2016 05:34:01 +0000 (-0700) Subject: ; Fix typo in previous patch. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21^2~3269 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e11b41ec61e8857f0a0c925dd000a0bad9e124b3;p=emacs.git ; Fix typo in previous patch. --- diff --git a/src/coding.c b/src/coding.c index bcedd7f5eeb..17cb77e28df 100644 --- a/src/coding.c +++ b/src/coding.c @@ -8420,7 +8420,7 @@ Lisp_Object from_unicode_buffer (const wchar_t *wstr) { /* We get one of the two final null bytes for free. */ - prtdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr); + ptrdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr); AUTO_STRING_WITH_LEN (str, (char *) wstr, len); return from_unicode (str); }